package org.zky.modules.transaction.service.dto;

import lombok.Data;

import java.io.Serializable;
import java.sql.Timestamp;

/**
* @author chenglong
* @date 2020-03-23
*/
@Data
public class ZkyOrderTabDto implements Serializable {

    private Long orderId;

    /** 1:PC 2:wechat */
    private Integer orderSource;

    private Long userId;

    /** user mobile */
    private String mobileNo;

    /** 1:init 2:payment_success 3:payment_fail 4:cancel 5:refunding 6:refunded */
    private Integer orderStatus;

    /** 1:course 2:activity */
    private Integer orderType;

    /** course_id or activity_id of this order */
    private Long orderItemId;

    /** now is campus_id or 0 */
    private Long orderItemReference;

    private Timestamp createTime;

    private Timestamp updateTime;

    private Timestamp expiredTime;

    /** outer order id */
    private Long partnerOrderId;

    /** 1:wechat 2:alipay */
    private Integer paymentMethod;

    private Long paymentReferenceNo;

    /** amount * 100 */
    private Integer amount;

    private String accountName;

    private Timestamp paymentTime;
}